part of 'use_case.dart';

class PurchaseManagementDataGettingResult extends Equatable {
  const PurchaseManagementDataGettingResult({
    required this.appStorePurchasedItems,
    required this.activePurchasedItemModels,
    required this.googlePlayPurchasedItems,
    required this.webPurchasedItems,
    required this.webPurchaseItemMap,
    required this.pausedGooglePlayPurchasedSubscriptionModels,
    required this.expiredPurchasedSubscriptionModels,
  });

  final BuiltList<AppStorePurchasedItem> appStorePurchasedItems;
  final BuiltList<GooglePlayPurchasedItem> googlePlayPurchasedItems;
  final BuiltList<WebPurchasedItem> webPurchasedItems;
  final BuiltMap<String, WebPurchaseItem> webPurchaseItemMap;
  final BuiltList<PurchasedItemModel> activePurchasedItemModels;
  final BuiltList<GooglePlayPurchasedSubscriptionModel> pausedGooglePlayPurchasedSubscriptionModels;
  final BuiltList<PurchasedSubscriptionModel> expiredPurchasedSubscriptionModels;

  @override
  List<Object?> get props {
    return [
      appStorePurchasedItems,
      googlePlayPurchasedItems,
      webPurchasedItems,
      webPurchaseItemMap,
      activePurchasedItemModels,
      pausedGooglePlayPurchasedSubscriptionModels,
      expiredPurchasedSubscriptionModels,
    ];
  }
}
